package com.example.a2022application.bean;

import java.util.List;

public class CourseBean {

    /**
     * code : 0
     * message : 成功获取成功
     * data : [{"class_name":"1班","end_node":"2","time":"2022-05-7","week":"星期三","start_node":"1","create_time":"2022-05-07 10:46:18","obj_id":"d8a47773-9c1b-4234-be7e-9feb3c8faa43","course_name":"数学"}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * class_name : 1班
         * end_node : 2
         * time : 2022-05-7
         * week : 星期三
         * start_node : 1
         * create_time : 2022-05-07 10:46:18
         * obj_id : d8a47773-9c1b-4234-be7e-9feb3c8faa43
         * course_name : 数学
         */

        private String class_name;
        private String end_node;
        private String time;
        private String week;
        private String start_node;
        private String create_time;
        private String obj_id;
        private String course_name;

        public String getClass_name() {
            return class_name;
        }

        public void setClass_name(String class_name) {
            this.class_name = class_name;
        }

        public String getEnd_node() {
            return end_node;
        }

        public void setEnd_node(String end_node) {
            this.end_node = end_node;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getWeek() {
            return week;
        }

        public void setWeek(String week) {
            this.week = week;
        }

        public String getStart_node() {
            return start_node;
        }

        public void setStart_node(String start_node) {
            this.start_node = start_node;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getObj_id() {
            return obj_id;
        }

        public void setObj_id(String obj_id) {
            this.obj_id = obj_id;
        }

        public String getCourse_name() {
            return course_name;
        }

        public void setCourse_name(String course_name) {
            this.course_name = course_name;
        }
    }
}
